home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NetNews Offline 2
/
NetNews Offline Volume 2.iso
/
news
/
comp
/
std
/
c
/
661
< prev
next >
Wrap
Internet Message Format
|
1996-08-06
|
1KB
Path: newsbf02.news.aol.com!not-for-mail
From: k2consult@aol.com (K2 Consult)
Newsgroups: comp.std.c
Subject: Hungarian Notation (was Re: Prefixing functions with return type..
Date: 27 Mar 1996 13:29:41 -0500
Organization: America Online, Inc. (1-800-827-6364)
Sender: root@newsbf02.news.aol.com
Message-ID: <4jc1el$dal@newsbf02.news.aol.com>
References: <DoKtsD.5M7@polo.demon.co.uk>
Reply-To: k2consult@aol.com (K2 Consult)
NNTP-Posting-Host: newsbf02.mail.aol.com
My 2.002 yen worth on Hungarian notation:
It violates an old programming dictum: "Debug the code, not the comments!"
Although they APPEAR to be part of the code, the compiler does not enforce
the prefixes. Therefore, nothing is to prevent me from doing the
following:
long sShort;
Sure, maybe it started life as a short, when suddenly (perhaps much
later), I find I need a long. Normally I just change a few header files,
perhaps, and that is that (I know, I know, it's not quite that simply in
RL). My point is, looking at the variable name will lead one to expect a
short, when one is receiving a long. This example may seem a bit
contrived, but there are plenty that are not.
Timothy Knox
Parallel Staffing Group
K2Consult@aol.com
Cogito, ergo hack.
DNRC Holder of Past Knowledge, and ...
"Chief Torturer and Lord High Executioner
To People Who Use Words Like Productize"